﻿<Window x:Class="MiniMusicPlayer.Windows.WindowAbout"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="About MMP" 
        Height="400" Width="400"
        AllowsTransparency="True"
        WindowStyle="None"
        Topmost="True"
        Icon="../Images/Window/Music.png"
        >
    <Grid Background="#FF0099f5">
        <Grid Margin="1" Background="White">
            <Grid.RowDefinitions>
                <RowDefinition Height="30" />
                <RowDefinition Height="*" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <Grid Grid.Row="0" Background="#FF0099f5" MouseLeftButtonDown="Move">
                <Label Content="About MMP" Foreground="White" FontSize="14" FontWeight="Bold" />
                <Button x:Name="ButtonClose" Style="{StaticResource ButtonStyleSquare}" Width="15" Height="15" Background="Transparent" Margin="0,8,5,8" Click="CloseClicked" HorizontalAlignment="Right">
                    <Image>
                        <Image.Resources>
                            <Style TargetType="{x:Type Image}">
                                <Setter Property="Source" Value="../Images/Window/CloseWhite_32.png" />
                                <Style.Triggers>
                                    <Trigger Property="IsMouseOver" Value="True">
                                        <Setter Property="Source" Value="../Images/Window/CloseGray_32.png"/>
                                    </Trigger>
                                </Style.Triggers>
                            </Style>
                        </Image.Resources>
                    </Image>
                </Button>

            </Grid>
            
            <StackPanel Grid.Row="1">
                <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0, 10">
                    <Image Source="../Images/Window/Music_128.png" Height="75"/>
                    <StackPanel>
                        <Label Content="Mini Music Player" FontSize="30" FontWeight="Bold"  HorizontalAlignment="Center"/>
                        <TextBlock HorizontalAlignment="Center" >            
                            <Hyperlink NavigateUri="https://minimusicplayer.codeplex.com/" RequestNavigate="LinkClicked" FontSize="13">
                                Version 0.1.4 Alpha
                            </Hyperlink>
                        </TextBlock>
                    </StackPanel>
                </StackPanel>
                <Separator Background="#FF0099f5" />
                <StackPanel Margin="0, 0, 0, 10">
                    <Label Content="Jens Horstmann" FontSize="20" FontWeight="Bold" HorizontalAlignment="Center" />
                    <TextBlock HorizontalAlignment="Center" >            
                        <Hyperlink NavigateUri="mailto:Horstman.Jens.Mail@Gmail.com?subject=Mini Music Player: " RequestNavigate="LinkClicked" FontSize="15">
                            Horstman.Jens.Mail@Gmail.com
                        </Hyperlink>
                    </TextBlock>
                    <!--<Label Content="Horstman.Jens.Mail@Gmail.com" FontSize="15"  HorizontalAlignment="Center" />-->
                    <Label Content="If you found any bugs please send me an email" HorizontalAlignment="Center" />
                </StackPanel>
                <Separator Background="#FF0099f5" />
                <StackPanel>
                    <Label Content="Visit me on:" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center"/>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="40" />
                            <RowDefinition Height="40" />
                            <RowDefinition Height="40" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <Label Grid.Row="0" Grid.Column="0" Content="StackOverflow" HorizontalAlignment="Right" VerticalAlignment="Center"/>
                        <Image Grid.Row="0" Grid.Column="1" Margin="2" Source="../Images/About/StackOverflow_64.png" HorizontalAlignment="Left" VerticalAlignment="Center" Tag="http://stackoverflow.com/users/4435719/jens-horstmann" MouseLeftButtonDown="VisitMeImageClicked"/>

                        <Label Grid.Row="1" Grid.Column="0" Content="YouTube" HorizontalAlignment="Right" VerticalAlignment="Center"/>
                        <Image Grid.Row="1" Grid.Column="1" Margin="2" Source="../Images/About/YouTube_64.png" HorizontalAlignment="Left" VerticalAlignment="Center" Tag="https://www.youtube.com/channel/UCxC0M87TFsTMNNoHHzZRkng" MouseLeftButtonDown="VisitMeImageClicked"/>

                        <Label Grid.Row="2" Grid.Column="0" Content="CodePlex" HorizontalAlignment="Right" VerticalAlignment="Center"/>
                        <Image Grid.Row="2" Grid.Column="1" Margin="2" Source="../Images/About/CodePlex.png" HorizontalAlignment="Left" VerticalAlignment="Center" Tag="https://www.codeplex.com/site/users/view/CApplications" MouseLeftButtonDown="VisitMeImageClicked"/>
                    </Grid>
                </StackPanel>
                
            </StackPanel>
            
            
            <!--<Grid Grid.Row="2" Background="#FF0099f5">
                <Label Content="Playing: Noting" Foreground="White" />
            </Grid>-->
        </Grid>
    </Grid>
</Window>
